package cn.lizemin.flowable.mapper;


import cn.lizemin.flowable.entity.Role;
import cn.lizemin.flowable.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    List<Role> getRolesByUserId(@Param("id") Integer id);

}




